package com.qf.medicaldoctoradmin.onlineSigning.TeamHomepage.service.Impl;


import com.qf.medicaldoctoradmin.onlineSigning.TeamHomepage.dao.TeamHomepageDao;
import com.qf.medicaldoctoradmin.onlineSigning.TeamHomepage.service.TeamHomepageService;
import com.qf.medicaldoctoradmin.onlineSigning.TeamHomepage.vo.TeamHomepageVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TeamHomepageServiceImpl implements TeamHomepageService {

    @Resource
    private TeamHomepageDao teamHomepageDao;


    @Override
    public TeamHomepageVo organizationHomepageById(Integer id) {
        for (TeamHomepageVo s: teamHomepageDao.selectTeamHomepageAll(id)){
            return s;
        }
        return null;
    }
}
